package cc.cix.gt.org.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author cix
 */
@Data
@ApiModel(value = "DataPermissionTest对象", description = "数据权限测试")
@TableName("t_data_permission_test")
public class DataPermissionTest {

    @TableId(value = "ID", type = IdType.AUTO)
    @ApiModelProperty("数据权限测试 ID")
    private Integer id;

    @ApiModelProperty("字段1")
    private String field1;

    @ApiModelProperty("字段2")
    private String field2;

    @ApiModelProperty("字段3")
    private String field3;

    @ApiModelProperty("字段4")
    private String field4;

    @ApiModelProperty("部门 ID")
    private Integer deptId;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

}
